def stringInput():
    return input("请输入一串字符\n")

def countNumber(strings):
    count={}
    for i in strings:
        count[i]=count.get(i,0)+1
    return count

def stringOutput(strings):
    print(strings)

def main():
    stringOutput(countNumber(stringInput()))

main()